package models;

public class SportProfile {
	public static final double SEDENTARY = 1.2;
	public static final double LIGHTLY_ACTIVE = 1.375;
	public static final double MODERATELY_ACTIVE = 1.55;
	public static final double VERY_ACTIVE = 1.725;
	public static final double EXTRA_ACTIVE = 1.9;
	
	public static double getProfile(String sportProfile){
		if(sportProfile.equals("SEDENTARY")){
			return SEDENTARY;
		}
		if(sportProfile.equals("LIGHTLY_ACTIVE")){
			return LIGHTLY_ACTIVE;
		}
		if(sportProfile.equals("MODERATELY_ACTIVE")){
			return MODERATELY_ACTIVE;
		}
		if(sportProfile.equals("VERY_ACTIVE")){
			return VERY_ACTIVE;
		}
		if(sportProfile.equals("EXTRA_ACTIVE")){
			return EXTRA_ACTIVE;
		}
		
		return 1.0;
	}
}
